/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */


/* You can override the default Infima variables here. */

:root {
    --ifm-color-primary: #8e4bbc;
    --ifm-color-primary-dark: #7d3ea7;
    --ifm-color-primary-darker: #6f3796;
    --ifm-color-primary-darkest: #613082;
    --ifm-color-primary-light: #a26ac8;
    --ifm-color-primary-lighter: #ad7dcf;
    --ifm-color-primary-lightest: #b990d5;
    --ifm-code-font-size: 95%;
}

html[data-theme='dark'] {
    --ifm-color-primary: #b990db;
    --ifm-color-primary-dark: #ad7dca;
    /* any other colors you wish to overwrite */
}

.docusaurus-highlight-code-line {
    background-color: rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 calc(-1 * var(--ifm-pre-padding));
    padding: 0 var(--ifm-pre-padding);
}

html[data-theme='dark'] .docusaurus-highlight-code-line {
    background-color: rgba(0, 0, 0, 0.3);
}

a.button.button--secondary {
    color: white!important;
    background-color: rgba(0, 0, 0, 0.45);
    border: none;
}

a.button.button--primary {
    color: white!important;
    background-color: rgba(0, 0, 0, 0.45);
    border: none;
}

.footer {
    background-color: #262626;
}


/* 分割线样式 */

hr {
    border-color: #0002;
    padding: 0 4px;
    border-width: 0.5px;
}

html[data-theme='dark'] hr {
    border-color: #595959;
}


/* 特殊时期时网页黑白 */


/* html,
body {
    filter: progid: DXImageTransform.Microsoft.BasicImage(grayscale=1);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
} */